import _fetch from "./request.js";
function getSubjectList(params) {
  return _fetch({
    url: "/subject/list",
    method: "get",
    params: params,
  });
}
function addSubjectData(data) {
  return _fetch({
    url: "/subject/add",
    method: "post",
    data,
  });
}
function subjectStatus(data) {
  return _fetch({
    url: "/subject/status",
    method: "post",
    data,
  });
}
function subjectRemove(data) {
  return _fetch({
    url: "/subject/remove",
    method: "post",
    data,
  });
}
function subjectEdit(data) {
  return _fetch({
    url: "/subject/edit",
    method: "post",
    data,
  });
}
export {
  getSubjectList,
  addSubjectData,
  subjectStatus,
  subjectRemove,
  subjectEdit,
};
